﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="李晓霞web.Login" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
     <script src="jquery.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        //点击切换验证码
        function f_refreshtype() {
            var Image1 = document.getElementById("Image1");
            if (Image1 != null) {
                Image1.src = Image1.src + "?";
            }
        }
    </script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
     <style type="text/css">

         .auto-style1 {
             width: 10px;
         }
     </style>
</head>
<body>
    <form id="form1" runat="server">
    <div style="text-align: center; background-color: #FDF1CE; height: 656px; margin-top: 0px;">
    
        <br style="background-color: #FFFFCC" />
        <br style="background-color: #FFD9CC" />
        <br />
        <br style="background-color: #F7E7D5" />
        <br />
        <br />
        <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Italic="True" Font-Names="华文行楷" Font-Size="XX-Large" Text="欢迎使用学生信息管理系统"></asp:Label>
        <br />
        <div style="position: absolute; top: 235px; left: 506px; width: 350px; text-align: center; font-size: large; font-family: 华文行楷; ">
            <br />
            <asp:Label ID="Label2" runat="server" Font-Bold="True" Font-Names="华文行楷" Font-Size="Large" Text="用户名："></asp:Label>
            <asp:TextBox ID="txtUserName" runat="server"></asp:TextBox>
            <br />
            <br />
&nbsp;<asp:Label ID="Label3" runat="server" Font-Bold="True" Font-Names="华文行楷" Font-Size="Large" Text="密码："></asp:Label>
            &nbsp;<asp:TextBox ID="txtUserPwd" runat="server" style="margin-left: 4px" TextMode="Password"></asp:TextBox>
            <br />
            <br />
            <br />
            验证码：<asp:TextBox ID="TextBox1" runat="server" Width="74px"></asp:TextBox>
                        <asp:Image ID="Image1" runat="server" ImageUrl="~/png.aspx" />
            <table>
                    <%--<tr>
                        <td class="auto-style1">
                            <img id="img" onclick="f_refreshtype()" src="png.aspx" /> </td>
                    </tr>--%>
                </table>
          
                        &nbsp;&nbsp;<br />
            <asp:Label ID="Label4" runat="server" Font-Bold="True" Font-Names="华文行楷" Font-Size="Large" Text="用户类型："></asp:Label>
            <asp:RadioButton ID="rdoTeacher" runat="server" Font-Bold="True" Font-Names="华文行楷" Font-Size="Large" Text="老师" GroupName="ee" />
            <asp:RadioButton ID="rdoStudent" runat="server" Font-Bold="True" Font-Names="华文行楷" Font-Size="Large" Text="学生" GroupName="ee" />
            <br />
            <br />
            <asp:Label ID="lblInfo" runat="server"></asp:Label>
            <br />
            <br />
            <asp:Button ID="Register" runat="server" BackColor="#FFFFCC" Font-Bold="True" Font-Names="华文行楷" Font-Size="Large" style="margin-left: 19px" Text="注册" Width="51px" OnClick="Register_Click" />
            <asp:Button ID="btnLogin" runat="server" BackColor="#FFFFCC" BorderColor="#FFFFCC" Font-Bold="True" Font-Names="华文行楷" Font-Size="Large" style="margin-left: 62px; height: 29px;" Text="登录" Width="51px" OnClick="btnLogin_Click" />
            <asp:Button ID="Quit" runat="server" BackColor="#FFFFCC" Font-Bold="True" Font-Names="华文行楷" Font-Size="Large" OnClick="Quit_Click" style="margin-left: 61px" Text="注销" Width="51px" />
        </div>
        <br />
        <br />
        <asp:Image ID="Image2" runat="server" Height="323px" ImageUrl="~/Images/登录背景.jpg" Width="400px" />
        <br />
        <br />
        <br />
    
    </div>
    </form>
</body>
</html>
